From fabc5a91175b41924ba5baadb61845c5b095dcf5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 8 Jul 2011 16:31:48 -0400 Subject: [PATCH] gail_misc_add_attribute no longer used outside gailmisc.c This reduces the number of unwanted exported gail symbols from 90 to 89. Still some way to go... --- gtk/a11y/gailmisc.c | 13 +------------ gtk/a11y/gailmisc.h | 3 --- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/gtk/a11y/gailmisc.c b/gtk/a11y/gailmisc.c index 9ac2befb35..c937ee0c27 100644 --- a/gtk/a11y/gailmisc.c +++ b/gtk/a11y/gailmisc.c @@ -155,18 +155,7 @@ gail_misc_get_index_at_point_in_layout (GtkWidget *widget, return index; } -/** - * gail_misc_add_attribute: - * @attrib_set: The #AtkAttributeSet to add the attribute to - * @attr: The AtkTextAttrribute which identifies the attribute to be added - * @value: The attribute value - * - * Creates an #AtkAttribute from @attr and @value, and adds it - * to @attrib_set. - * - * Returns: A pointer to the new #AtkAttributeSet. - **/ -AtkAttributeSet* +static AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set, AtkTextAttribute attr, gchar *value) diff --git a/gtk/a11y/gailmisc.h b/gtk/a11y/gailmisc.h index 9483755c7b..67c60afc11 100644 --- a/gtk/a11y/gailmisc.h +++ b/gtk/a11y/gailmisc.h @@ -26,9 +26,6 @@ G_BEGIN_DECLS -AtkAttributeSet* gail_misc_add_attribute (AtkAttributeSet *attrib_set, - AtkTextAttribute attr, - gchar *value); AtkAttributeSet* gail_misc_layout_get_run_attributes (AtkAttributeSet *attrib_set, PangoLayout *layout, -- 2.30.2